<?php 
ob_start(); 
@session_start();
?>
<h1>THỜI KHÓA BIỂU</h1>
<?php
	if(isset($_SESSION['s_user']) && isset($_SESSION['s_pass']))
	{
		$u = $_SESSION['s_user'];
		$t = "GV";
		$k = strpos($u, $t);
		if($k === false)
		{
			header("location:../app_sv/tkb_sv.php");
		}
		else
		{
			header("location:../app_gv/tkb_gv.php");
		}
	}
	else
	{
		echo "Bạn chưa đăng nhập!";
	}
?>

<?php ob_end_flush(); ?>